package my.study.javapuzzles;

public class JoyOfHex {
	/*
	 * 0xcafebabe 转换成long(64 bit) = 0xffff ffff cafe babe
	 * 结果就为cafe babe
	 */
	public static void main(String[] args) {
		System.out.println(Long.toHexString(0x100000000L + 0xcafebabe));
		System.out.println(Long.toHexString(0x100000000L + 0xcafebabeL));
	}
}